package edu.corn.job.core.processor;

import edu.corn.job.core.context.JobRunningContext;

import java.io.Serializable;

/**
 * 回调
 */
public abstract class CallFallback implements Serializable {


    public abstract void onSuccess(JobRunningContext context);

    public abstract void onFailure(Throwable error);
}
